projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5db79b
)
xm: Fix an indentation bug.
author
Keir Fraser
<keir@xensource.com>
Sat, 31 Mar 2007 11:26:04 +0000
(12:26 +0100)
committer
Keir Fraser
<keir@xensource.com>
Sat, 31 Mar 2007 11:26:04 +0000
(12:26 +0100)
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
tools/python/xen/xm/main.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xm/main.py
b/tools/python/xen/xm/main.py
index 34a3a5d51656083271ad3731948877da1cbbc87d..940a97034e372302ea612e8926c2cf0da7ab3bab 100644
(file)
--- a/
tools/python/xen/xm/main.py
+++ b/
tools/python/xen/xm/main.py
@@
-929,10
+929,10
@@
def xm_label_list(doms):
if security.active_policy not in ['INACTIVE', 'NULL', 'DEFAULT']:
if not d['seclabel']:
d['seclabel'] = 'ERROR'
-
elif security.active_policy in ['DEFAULT']:
-
d['seclabel'] = 'DEFAULT'
-
else:
-
d['seclabel'] = 'INACTIVE'
+ elif security.active_policy in ['DEFAULT']:
+ d['seclabel'] = 'DEFAULT'
+ else:
+ d['seclabel'] = 'INACTIVE'
output.append((format % d, d['seclabel']))